package com.quanyue.music.file.type;

import com.quanyue.music.domain.entity.Fm;
import com.quanyue.music.domain.entity.FmNames;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;

@Table
public class FMDetailList extends Fm {
    @Column(name = "tag_name")
    @ApiModelProperty(name = "标签名称")
    private String tagName;
    @ApiModelProperty(required = true, value = "音乐名")
    @Transient
    private List<FmNames> names;

    public String getTagName() {
        return tagName;
    }

    public void setTagName(String tagName) {
        this.tagName = tagName;
    }

    public List<FmNames> getNames() {
        return names;
    }

    public void setNames(List<FmNames> names) {
        this.names = names;
    }
}
